// store.js

import { createStore, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
import { composeWithDevTools } from 'redux-devtools-extension';

import rootReducers from '../reducers/index.js'

const store = createStore(rootReducers, composeWithDevTools(applyMiddleware(thunk)));
export default store;

